package ObjectTest;

import org.w3c.dom.ls.LSOutput;

public class Test {
    public static void main(String[] args) {

        Student s1 = new Student("tian",19);
        Student s2 = new Student("tian",19);
        System.out.println(s2.equals(s1));
        System.out.println(s1 == s2);
    }

}
